<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>宠物医院</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
    <link th:href="@{/img/pet2.jpg}" rel="shortcut icon">
</head>
<body>
<!--顶部导航栏-->
<div th:replace="~{comment/comment::topbar}"></div>
<div class="container-fluid">
    <div class="row">
        <!--侧边导航栏-->
        <div th:replace="~{comment/comment::sidebar(active='director/watchList.html')}"></div>
        <!--主视图-->
        <main role="main" class="col-md-12 ml-sm-auto col-lg-11 pt-3 px-4">
            <h3 align="center">值班安排</h3>
            <div class="row">
                <div class="col-md-1 column"></div>
                <div class="col-md-9 column">
                    <a class="btn btn-primary" th:href="@{/export}">导出</a>
                    <a class="btn btn-primary" th:href="@{/Import}">导入</a>
                </div>
                <div class="col-md-2 column">
                    <a class="btn btn-primary" th:href="@{/updateList}">更新时间</a>
                </div>
            </div>
                <div class="table-responsive">
                    <table border="1" height="480" width="1000" cellspacing="1" align="center">
                        <thead align="center">
                        <tr>
                            <th>时间</th>
                            <th>星期一</th>
                            <th>星期二</th>
                            <th>星期三</th>
                            <th>星期四</th>
                            <th>星期五</th>
                            <th>星期六</th>
                            <th>星期日</th>
                        </tr>
                        </thead>
                        <tbody align="center">
                        <tr th:each="s:${schedules}" th:align="center">
                            <td th:text="${s.getTime()}"></td>
                            <td th:text="${s.getOday()}"></td>
                            <td th:text="${s.getTday()}"></td>
                            <td th:text="${s.getSday()}"></td>
                            <td th:text="${s.getFday()}"></td>
                            <td th:text="${s.getWday()}"></td>
                            <td th:text="${s.getXday()}"></td>
                            <td th:text="${s.getRday()}"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
        </main>
    </div>
</div>
</body>
</html>